<xml>
	<totalpage><?php echo $countWinner; ?></totalpage> <!-- VD: Tổng số trang là 10 -->
	<totalweek><?php echo $totalWeek; ?></totalweek>
	<!-- Mỗi trang có 10 items -->
	<?php
		//while (FALSE != ($row = $arrData->fetch())) {	
		foreach ($arrData as $row) {
	?>
        <item>
            <id><?php echo $row['id']; ?></id>
            <username><![CDATA[<?php echo  $row['firstname'].' '. $row['lastname']; ?>]]></username>
            <total_game><?php echo $row['numbercount']; ?></total_game>
            <score><?php echo $row['game_point']; ?></score>
            <week><?php	echo $week;	?></week>
            <song_name><?php echo $row['game_mp3_name']; ?></song_name>
            <song_path><?php echo site_url("data/upload/mp3/").$row['game_mp3_data']; ?></song_path>
        </item>
	<?php
		}
	?>
</xml>